//
//  LSExponentModel.h
//  LookScore
//
//  Created by wws on 2018/4/3.
//  Copyright © 2018年 ChongQingXunTiCompany. All rights reserved.
//

#import <Foundation/Foundation.h>


@class AIHistoricaDataList,OddsChangeRecordList,SDHistoricaDataList,companyData;


@interface LSExponentModel : NSObject



@property (nonatomic, assign) BOOL isSelected;
@property (nonatomic, assign) NSInteger MatchId;

/**联赛颜色*/
@property (nonatomic, copy) NSString *LeagueColor;
/**联赛名称*/
@property (nonatomic, copy) NSString *LeagueName;

@property (nonatomic, assign) NSInteger LeagueId;
/**比赛计划开赛时间*/
@property (nonatomic, copy) NSString *MatchDateTime;
/**比赛实际开赛时间*/
@property (nonatomic, copy) NSString *MatchRealDateTime;
/** 比赛状态：
 0 未开赛
 1 上半场
 3 下半场
 -1 结束*/
@property (nonatomic, assign) NSInteger MatchState;

@property (nonatomic, assign) NSInteger HomeTeamId;

/**主队名称 中文*/
@property (nonatomic, copy) NSString *HomeTeamName;

/**主队排名*/
@property (nonatomic, copy) NSString *HomeTeamOrder;

/**主队得分*/
@property (nonatomic, assign) NSInteger HomeTeamScore;
/**客队编号*/
@property (nonatomic, assign) NSInteger GuestTeamId;

/**客队排名*/
@property (nonatomic, copy) NSString *GuestTeamOrder;

/**客队名称*/
@property (nonatomic, copy) NSString *GuestTeamName;
/**客队得分*/
@property (nonatomic, assign) NSInteger GuestTeamScore;
/**(亚盘变化记录)*/
@property (nonatomic, strong) NSArray <AIHistoricaDataList *>* AIHistoricaDataList;
/**(欧赔变化记录)*/
@property (nonatomic, strong) NSArray <OddsChangeRecordList *>* OddsChangeRecordList;
/**(大小球变化记录)*/
@property (nonatomic, strong) NSArray <SDHistoricaDataList *>* SDHistoricaDataList;



@property (nonatomic, assign) BOOL isOpen;

@property (nonatomic,assign) CGFloat cellHeight;


@end

@interface AIHistoricaDataList : NSObject

/**比赛id*/
@property (nonatomic, assign) NSInteger MatchId;
/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;

/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;
@property (nonatomic, strong) NSArray <companyData *>*companyData;

@end

@interface OddsChangeRecordList : NSObject


@property (nonatomic, strong) NSArray <companyData *>*companyData;
/**比赛id*/
@property (nonatomic, assign) NSInteger MatchId;
/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;

/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;
@end


@interface SDHistoricaDataList : NSObject



@property (nonatomic, strong) NSArray <companyData *>*companyData;
/**比赛id*/
@property (nonatomic, assign) NSInteger MatchId;
/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;

/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;
@end
//
//
//
@interface companyData: NSObject
/**比赛id*/
@property (nonatomic, assign) NSInteger MatchId;
/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;

/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;

/**博彩公司盘口*/
@property (nonatomic, copy) NSString *CompanyPanKou;

/**比赛时间*/
@property (nonatomic, copy) NSString *MacthTime;

/**比分*/
@property (nonatomic, copy) NSString *MacthScore;

/**历史数据——主队*/
@property (nonatomic, copy) NSString *HD_ZD;
/**历史数据——盘口*/
@property (nonatomic, copy) NSString *HD_PK;

/**历史数据——客队*/
@property (nonatomic, copy) NSString *HD_KD;

/**变化时间*/
@property (nonatomic, copy) NSString *ChangeTime;
/** 状态：
 0  初
 1  即，早，红（水位）
 2  滚，蓝（水位）*/
@property (nonatomic, assign) NSInteger State;



/**历史数据——大球*/
@property (nonatomic, copy) NSString *HD_DQ;

/**历史数据-盘口*/
//@property (nonatomic, copy) NSString *HD_PK;

/**历史数据_小球*/
@property (nonatomic, copy) NSString *HD_XQ;



/**赔率-胜*/
@property (nonatomic, copy) NSString *Odds_Win;
/**赔率-平*/
@property (nonatomic, copy) NSString *Odds_Flat;

/**赔率-负*/
@property (nonatomic, copy) NSString *Odds_Negative;

/**凯利-胜*/
@property (nonatomic, copy) NSString *Kelly_Win;

/**凯利-平*/
@property (nonatomic, copy) NSString *Kelly_Flat;

/**凯利-负*/
@property (nonatomic, copy) NSString *Kelly_Negative;


@end


@interface  CompanyList : NSObject
/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;
/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;

@property (nonatomic, assign) NSInteger GroupType;
@property (nonatomic, copy) NSString * DataType;
@property (nonatomic, copy) NSString * YP;
/** */
@property (nonatomic, copy) NSString *OP;


@property (nonatomic, assign) BOOL isSelected;
@end



